import Home from '@/module/home/page/home.vue'
import menus from '@/module/home/config/menu-config.js'

let homeRouter = [
  {
    path: '/',
    component: Home,
    name: '主页',
    hidden: true
  }
]

const concat = (router) => {
  homeRouter = homeRouter.concat(router)
}

concat(menus)

export default homeRouter
